package xyz.molzhao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import xyz.molzhao.crypt.CryptField;
import xyz.molzhao.domain.User;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 11
 * @since 2021-08-05
 */
public interface UserMapper extends BaseMapper<User> {
    User selectById(@Param("id") Long id);

    User selectByMobile(@CryptField @Param("mobile") String mobile);
}
